x86/HAP: prefer is_..._domain() over is_..._vcpu()
authorJan Beulich <jbeulich@suse.com>
Thu, 18 Jun 2015 14:42:56 +0000 (16:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 18 Jun 2015 14:42:56 +0000 (16:42 +0200)
commitcc0fa33fe8b6c2c8ed9d078705070b62ec396051
tree1ae06db8213f2c0fdb2c6e0ac1666dcb6358ab2b
parent42ef6ec965cb93e17b485caa860ff09d8a932733
x86/HAP: prefer is_..._domain() over is_..._vcpu()

In hvm_hap_nested_page_fault() latch the current domain alongside the
current vCPU into a local variable, making use of it where possible
also beyond what the title says.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c